package com.atdel.demo29;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 *@BelongsProject: java_study
 *@BelongsPackage: com.atdel.demo29
 *@Author: Del
 *@CreateTime: 2025-03-30  16:23
 *@Description: 定义一个注解，应用于字段，方法，用于设置一个数值
 *@Version: 1.0
*/
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface AnnotationDemo {
    int value() default 0;
}
